package cn.tedu.csmall.product.mapper;

import cn.tedu.csmall.product.pojo.entity.Picture;
import cn.tedu.csmall.product.pojo.vo.PictureListItemVO;
import cn.tedu.csmall.product.pojo.vo.PictureStandardVO;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.springframework.stereotype.Repository;

import java.util.List;

/**
 * @author Administrator
 * @description 针对表【pms_picture(图片)】的数据库操作Mapper
 * @createDate 2023-06-15 11:40:49
 * @Entity generator.domain.Picture
 */
@Repository
public interface PictureMapper extends BaseMapper<Picture> {

    List<PictureListItemVO> listByAlbumId(Long albumId);

    PictureStandardVO getStandardById(Long id);
}




